import React from "react";
import {useRoutes} from 'react-router-dom'
import Routers from "./routers";
import WidthRouter from "./components/HOC";
const App:React.FC=()=>{
  const Element=useRoutes(Routers)
  return <div>{Element}</div>
}
export default WidthRouter(App)